package com.zhanghe.wzq.command.response;

import com.zhanghe.protocol.v1.Packet;
import com.zhanghe.wzq.command.CommandType;
import lombok.Data;

/**
 * JoinTableResponse
 *
 * @author Clevo
 * @date 2018/12/31
 */
@Data
public class JoinTableResponse extends Packet {

    public String tableId;

    public boolean success;

    public String msg;

    public String joinUser;

    @Override
    public Byte getCommand() {
        return CommandType.JOIN_TABLE_RESPONSE;
    }
    @Override
    public boolean needSerilize() {
        return true;
    }
}
